package com.tqyan.model.dto.paper;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;
import org.springframework.util.CollectionUtils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * @description 论文标题
 * <p> <功能详细描述> </p>
 *
 * @author 陈晨
 * @date 2023/4/10 16:55
 */
@Data
public class PaperTitleDTO implements Serializable {
    private static final long serialVersionUID = -4380942024515477788L;

    /** 节点 */
    private String node;
    /** 标题 */
    private String title;
    /** 内容 */
    private String content;
    /** 子标题 */
    private List<PaperTitleDTO> subTitle;

    public PaperTitleDTO() {}

    public PaperTitleDTO(String node, String title) {
        this.node = node;
        this.title = title;
        this.subTitle = new ArrayList<>();
    }

}


